Fix possible heap corruption in QXmlStream
The value of 'tos' at the check might already be on the last element,
so triggering stack expansion on the second last element is too late.
Change-Id: Ib3ab2662d4d27a71effe9e988b9e172923af2908
Reviewed-by: Richard J. Moore <rich@kde.org>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit
6256729a6da532079505edfe4c56a6ef29cd8ab8)
Reviewed-By: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Last-Update: 2018-09-25
Gbp-Pq: Name fix_possible_heap_corruption_in_qxmlstream.patch
Revert "QWidgetWindow: Immediately forward close events to QWindow"
This reverts commit
e0b5ff4ad583befbecbcbe462998e3ed80899531.
References: kde#395988
References: QTBUG-43344
Gbp-Pq: Name Revert-QWidgetWindow-Immediately-forward-close-event.patch